﻿using FluentValidation;

namespace WYT.Usr.Application.Contracts.Dtos.User.DtoValidators
{
    /// <summary>
    /// 
    /// </summary>
    public class UserEncryptedInfoDtoValidator : AbstractValidator<UserEncryptedInfoDto>
    {
        public UserEncryptedInfoDtoValidator()
        {
            RuleFor(x => x.Code).NotEmpty();
            RuleFor(x => x.Iv).NotEmpty();
            RuleFor(x => x.EncryptedData).NotEmpty();
        }
    }
}
